import {
    _serviceUrl,
    _interface,
    _axios,
    _getPara,
    sendAjax
} from "../base"

export class Port {
  test(param,callback) {
   sendAjax(_serviceUrl + _interface.test, param, callback)
  }

  query(param,callback) {
    sendAjax(_serviceUrl + _interface.query, param, callback)
  }

  queryPost(param,callback) {
    sendAjax(_serviceUrl + _interface.queryPost, param, callback)
  }

  queryHtml(param,callback) {
    sendAjax(_serviceUrl + _interface.queryHtml, param, callback)
  }

}


